package homework;

import java.sql.Date;
import java.time.LocalDateTime;

public class User {
	private String name;
	private String password;
	private int islock;
	private String time;
	@Override
	public String toString() {
		return name + "=" + password + "=" + islock + "=" + time;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String now) {
		this.time = now;
	}
	public String getName() {
		return name;
	}
	public User(String name, String password, int islock, String time) {
		super();
		this.name = name;
		this.password = password;
		this.islock = islock;
		this.time = time;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int isIslock() {
		return islock;
	}
	public void setIslock(int islock) {
		this.islock = islock;
	}
	public User(String name, String password, int islock) {
		super();
		this.name = name;
		this.password = password;
		this.islock = islock;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public User(String name, String password) {
		super();
		this.name = name;
		this.password = password;
	}
	public User() {
		super();
	}
}
